Skip to content

opt-in warning attribute not valid for union case with fields #18532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
May 28, 2025

Conversation

edgarfgp
Copy link
Contributor

@edgarfgp edgarfgp commented May 5, 2025

Description

Continuation of #18492

Related: #18298

Checklist

  • Test cases added
  • Release notes entry updated

@edgarfgp edgarfgp changed the title raise an opt-in warning attribute not valid for union case with fields opt-in warning attribute not valid for union case with fields May 5, 2025
Copy link
Contributor

github-actions bot commented May 5, 2025

❗ Release notes required


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/10.0.100.md

@edgarfgp edgarfgp marked this pull request as ready for review May 19, 2025 18:32
@edgarfgp edgarfgp requested a review from a team as a code owner May 19, 2025 18:32
@edgarfgp edgarfgp requested a review from T-Gro May 21, 2025 12:58
@edgarfgp edgarfgp requested a review from T-Gro May 23, 2025 19:52
@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling May 28, 2025
@T-Gro
Copy link
Member

T-Gro commented May 28, 2025

Thanks @edgarfgp for your persistance in getting this trough. With the PR, the feature is in a shape that will not risk breaking compatibility for existing code, even if it was/is semantically wrong when it comes to attribute usage.

@T-Gro T-Gro merged commit ae7ee86 into dotnet:main May 28, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in F# Compiler and Tooling May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants